package cate.game.role.farm.forbidden.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdForbidden;
import cate.game.role.Role;
import cate.game.role.farm.forbidden.MyForbiddenZone;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "我的种族禁地数据 の 返回")
public class ForbiddenDataResp implements MsgOutput {

    @NoteField(value = "主角【元素副本】数据")
    public MyForbiddenZone data;

    public ForbiddenDataResp(Role role) {
        this.data = role.getFarm().forbidden;
    }

    public ForbiddenDataResp() {
    }

    @Override
    public MsgConfig conf() {
        return MsgIdForbidden.FORBIDDEN_DATA_RESP;
    }

}
